package router

import (
	v1 "Im/server/service/v1"

	"github.com/gin-gonic/gin"
)

func NverRouter(r *gin.Engine) {
	api := r.Group("/api")
	{
		api.POST("/v1/login/login", v1.Login{}.Login)
		api.POST("v1/login/register", v1.Login{}.Register)
	}
	r.Static("/public", "./public")
}
